<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <title>分页器</title>
 <link href="css/pager.css" rel="stylesheet"/>
 <script src="js/require.js" data-main="js/config.js"></script>
</head>
<body>
 <div id="pager"></div>
 <script src="js/fen.js"></script>
<!-- <script>
 function doChangePage(obj){
  //TO DO
 }
 
 var pagerBox = document.getElementById('pager');
 var a=10;
 var pager = new Pager({
  index: 1,
  total: a,
  parent: pagerBox,
  onchange: doChangePage
 });
 </script>-->
</body>
</html>